<!DOCTYPE html>
<html lang="en">
<head>
<title>梦时代后台首页</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="__PUBLIC__/Admin/css/bootstrap.min.css" />
<link rel="stylesheet" href="__PUBLIC__/Admin/css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="__PUBLIC__/Admin/css/uniform.css" />
<link rel="stylesheet" href="__PUBLIC__/Admin/css/select2.css" />
<link rel="stylesheet" href="__PUBLIC__/Admin/css/matrix-style.css" />
<link rel="stylesheet" href="__PUBLIC__/Admin/css/matrix-media.css" />
<link href="__PUBLIC__/Admin/font-awesome/css/font-awesome.css" rel="stylesheet" />
<link href='__PUBLIC__/Admin/css/font.css' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="__PUBLIC__/Admin/css/matrix-style.css" />
<style type="text/css">
  .btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info {
    color: #FFF;
    background-color: #31B0D5;
    border-color: #269ABC;
}
.btn-info {
    color: #FFF;
   
}
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -moz-user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.btn-success {
    color: #FFF;
    background-color: #5CB85C;
    border-color: #4CAE4C;
}
.btn-danger {
    color: #FFF;
    background-color: #D9534F;
    border-color: #D43F3A;
}
.btn-primary{

}
.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}
.table td{
  line-height: 34px;
}
</style>

</head>
<body>

<!--Header-part-->
<div id="header">
  <h1><a href="dashboard.html">MatAdmin</a></h1>
</div>
<!--close-Header-part-->
<!-- top -->
<include file="Public/header"/>
<!--start-top-serch-->
<div id="search">
  <input type="text" placeholder="输入搜索内容..."/>
  <button type="submit" class="tip-bottom" title="Search"><i class="icon-search icon-white"></i></button>
</div>
<!--close-top-serch-->
<!--sidebar-menu-->
<include file="Public/menu"/>
<!--sidebar-menu-->

<!--main-container-part-->
<div id="content">
<!--breadcrumbs-->
  <div id="content-header">
    <div id="breadcrumb"> 
      <a href="{ly:U('Index/index')}" title="返回首页" class="tip-bottom"><i class="icon-home"></i> 首页</a>
      <a href="{ly:U('Group/index')}" title="返回社团管理" class="tip-bottom">社团管理</a> 
      <a href="Javascript:;" class="current">社团会员管理</a>
    </div>
    <h1>社团会员管理</h1>
  </div>
<!--End-breadcrumbs-->

<!--Action boxes-->
  <div class="container-fluid">
    <hr>
<!--End-Action boxes-->    

<!--Chart-box-->    
    <div class="row-fluid">
      <div class="span12">
        <div class="widget-box">
          <div class="widget-title">
            <span class="icon"> <i class="icon-th"></i> </span>
            <h5>社团会员列表</h5>
          </div>
          <div class="widget-content ">
            <table class="table table-bordered table-striped with-check">
              <thead>
                <tr>
                  <th class="span2">ID</th>
                  <th>姓名</th>
                  <th>头像</th>
                  <th>性别</th>
                  <th>等级</th>
                  <th>注册时间</th>
                  <th>状态</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tbody>
                <volist name="memberinfo" id="d">
                <tr>
                  <td>{ly$d.id}</td>
                  <td>{ly$d.name}</td>
                  <td><img title="" src="{ly$d.img}" id="example2" data-content="<img src='{ly$d.img}' /> " data-placement="right" data-toggle="popover"   data-original-title="图片预览"> </td>
                  <td class="span2">{ly$d.sex}</td>
                  <td>{ly$d.member_level}</td>
                  <td class="span3">{ly$d.create_time|date="Y-m-d H:i:s",###}</td>
                  <td>
                  	<if condition="$d.is_lock eq 1">
                  	<span style='color:red'>封号</span>
                  	<else/>
					<span style='color:green'>使用</span>
                  	</if>
                  </td>
                  <td class="span5">
                    <a class="btn btn-danger" href="{ly:U('Group/delete',array('id'=>$d['id']))}">
                      <i class="icon-trash"></i></i>
                        封号
                    </a>
                  </td>
                </tr>
                </volist>
                
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>
<!--End-Chart-box--> 

  </div>
</div>

<!--end-main-container-part-->

<!--Footer-part-->
<include file="Public/footer" />


<!--end-Footer-part-->

<script src="__PUBLIC__/Admin/js/jquery.min.js"></script> 
<script src="__PUBLIC__/Admin/js/jquery.ui.custom.js"></script> 
<script src="__PUBLIC__/Admin/js/bootstrap.min.js"></script> 
<script src="__PUBLIC__/Admin/js/jquery.uniform.js"></script> 
<script src="__PUBLIC__/Admin/js/select2.min.js"></script> 
<script src="__PUBLIC__/Admin/js/jquery.dataTables.min.js"></script> 
<script src="__PUBLIC__/Admin/js/matrix.js"></script> 
<script src="__PUBLIC__/Admin/js/matrix.tables.js"></script>
<script src="__PUBLIC__/Admin/js/jquery.peity.min.js"></script> 
<script src="__PUBLIC__/Admin/js/matrix.popover.js"></script>
<script type="text/javascript">
  $("div#sidebar ul li").click(function() {
    var i=$(this).index();
    // alert(i);
    $(this).eq(i).addClass('active').siblings('li').removeClass('active');
  });
  
</script>
<script type="text/javascript">
  // This function is called from the pop-up menus to transfer to
  // a different page. Ignore if the value returned is a null string:
  function goPage (newURL) {

      // if url is empty, skip the menu dividers and reset the menu selection to default
      if (newURL != "") {
      
          // if url is "-", it is this page -- reset the menu:
          if (newURL == "-" ) {
              resetMenu();            
          } 
          // else, send page to designated URL            
          else {  
            document.location.href = newURL;
          }
      }
  }

// resets the menu selection upon entry to this page:
function resetMenu() {
   document.gomenu.selector.selectedIndex = 2;
}
</script>
</body>
</html>

